OfflineRegionObserver

interface OfflineRegionObserver

A region can have a single observer, which gets notified whenever a change to the region's status occurs.

Functions

mapboxTileCountLimitExceeded
Link copied to clipboard
abstract fun mapboxTileCountLimitExceeded(limit: Long)
Implement this method to be notified when the limit on the number of Mapbox tiles stored for offline regions has been reached.
responseError
Link copied to clipboard
abstract fun responseError(error: ResponseError)
Implement this method to be notified of errors encountered while downloading regional resources.
statusChanged
Link copied to clipboard
abstract fun statusChanged(status: OfflineRegionStatus)
Implement this method to be notified of a change in the status of an offline region.

Inheritors

OfflineRegionObserverNative
Link copied to clipboard